from pyramid_layout.panel import panel_config


@panel_config(name='logo', renderer='myshop:templates/panels/logo.pt')
def logo_panel(context, request):
	return {}


@panel_config(name='category', renderer='myshop:templates/panels/category.pt')
def category_panel(context, request, current_cat):
	return {'current_cat': current_cat}


@panel_config(name='categories', renderer='myshop:templates/panels/categories.pt')
def categories_panel(context, request, categories):
	return {'categories': categories}
